#pragma once

#include <cstdint>

namespace hw {

using ExtiCallback = void (*)(bool);

struct Exti {
  static void start(ExtiCallback callback);
  static void cancel();
};

} // namespace hw
